-
Home
-
Enable CORS
-
2.0.2 (latest)
-
Code
-
Classes
- Option
Total Complexity |
45 |
Dependencies |
1 |
Dependents |
5 |
Total lines |
382 |
Lines of code |
133 |
Logical lines of code |
71 |
Comment lines |
105 |
Methods |
23 |
Properties |
7 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate() |
A |
48 |
9 |
33 |
set_option() |
S |
62 |
8 |
9 |
__construct() |
S |
64 |
3 |
10 |
prepend_value() |
S |
64 |
3 |
10 |
has_wildcard() |
S |
73 |
2 |
4 |
is_method_allowed() |
S |
73 |
2 |
4 |
save() |
S |
67 |
2 |
7 |
is_current_origin_allowed() |
S |
74 |
1 |
4 |
update_version() |
S |
80 |
1 |
3 |
get_domains() |
S |
68 |
1 |
8 |
has_header() |
S |
80 |
1 |
3 |
has_methods() |
S |
80 |
1 |
3 |
get_allowed_header() |
S |
82 |
1 |
3 |
should_allow_credentials() |
S |
82 |
1 |
3 |
get_allowed_methods() |
S |
82 |
1 |
3 |
is_enable() |
S |
82 |
1 |
3 |
get() |
S |
80 |
1 |
3 |
should_allow_font() |
S |
82 |
1 |
3 |
should_allow_image() |
S |
82 |
1 |
3 |
delete() |
S |
77 |
1 |
4 |
add_default() |
S |
76 |
1 |
4 |
extract() |
S |
79 |
1 |
3 |
get_version() |
S |
79 |
1 |
3 |